import React, { Component } from 'react'
import {Route} from 'react-router-dom';
import Login from './pages/Login';
import UserCenter from './pages/UserCenter';

export default class App extends Component {
    render() {
        return (
            <div>
                {/* 登录的路由 */}
               <Route path="/login" component={Login} />
               {/* 个人中心的路由 */}
               <Route path="/usercenter" component={UserCenter} />
            </div>
        )
    }
}
